; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__OCEERRORS__') = 'UNDEFINED' THEN
__OCEERRORS__ SET 1
IF &TYPE('__ERRORS__') = 'UNDEFINED' THEN
include 'Errors.a'
ENDIF
IF FOR_SYSTEM7_ONLY THEN
;
;Allocated ranges:
; AOCE General Errors -1500 to -1539
; AOCE Authentication Errors -1540 to -1609
; AOCE Catalog Errors -1610 to -1680
;
; AOCE Standard Mail Errors -1900 to -1949
; AOCE Standard Catalog Errors -1950 to -1969
; AOCE Digital Signature Errors -1970 to -1999
;
; AOCE Templates Errors -15000 to -15039
; AOCE Mail Errors -15040 to -15089
; AOCE Messaging Errors -15090 to -15169
; Reserved for future -15170 to -15199
;
; AOCE General Errors (-1500 to -1539)
kOCEToolboxNotOpen EQU -1500 ; Toolbox not open; perhaps its closing
kOCEInvalidCommand EQU -1501 ; Request code passed to a trap call is invalid
kOCEInvalidRef EQU -1502 ; a reference to an object is obsolete or invalid
kOCEBufferTooSmall EQU -1503 ; the buffer supplied is too small for the task
kOCEVersionErr EQU -1504 ; some manner of software version mismatch
kOCESyncAsyncErr EQU -1505 ; Op tried synchronously may only be done async, or vice versa
kOCEInternalErr EQU -1506 ; the OCE toolbox has an internal error
kOCENotAnOwner EQU -1507 ; this operation can only be done by the object's owner
kOCENotImplemented EQU -1508 ; Feature not implemented
kOCENotAuthenticated EQU -1509 ; The user must be authenticated
kOCEAlreadyExists EQU -1510 ; The object being added already exists
kOCEDoesntExist EQU -1511 ; the object being referenced doesn't exist or cannot be found
kOCEConnectionErr EQU -1512 ; Unable to open or maintain a network transport
kOCEConnectionClosed EQU -1513 ; Connect has closed
kOCEInvalidRecipient EQU -1514 ; Invalid recipient/address for this command
kOCEInvalidIndex EQU -1515 ; invalid index (out of range)
kOCERefIsClosing EQU -1516 ; Object references is being closed, cannot complete command
kOCEHasPendingMsgs EQU -1517
kOCEInvalidConfiguration EQU -1518
kOCERequiredServicesNotAvailable EQU -1519
kOCEServerInactive EQU -1520
kOCEMoreDiskSpaceNeeded EQU -1521 ; Inadequate disk space to safely complete operation
kOCEParamErr EQU -50 ; invalid parameter passed to toolbox
; AOCE Authentication Errors (-1540 to -1609)
kOCEReadAccessDenied EQU -1540
kOCEWriteAccessDenied EQU -1541
kOCEAccessRightsInsufficient EQU -1542 ; stream needs to be authenticated, or not authorized, or someone other than agent trying to TPFC, or problem in server-to-server authentication
kOCEUnsupportedCredentialsVersion EQU -1543 ; don't know how to read that version of credentials